/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const userRouter = {
    path: '/member/center',
    component: Layout,
    redirect: '/example/list',
    name: 'Example',
    meta: {
      title: '会员管理',
      icon: 'el-icon-s-help'
    },
    children: [
      {
        path: 'create',
        component: () => import('@/views/example/create'),
        name: 'CreateArticle',
        meta: { title: '会员列表', icon: 'edit' }
      },
      {
        path: 'edit/:id(\\d+)',
        component: () => import('@/views/example/edit'),
        name: 'EditArticle',
        meta: { title: 'editArticle', noCache: true, activeMenu: '/example/list' },
        hidden: true
      },
      {
        path: 'list',
        component: () => import('@/views/example/list'),
        name: 'ArticleList',
        meta: { title: '黑名单', icon: 'list' }
      }
    ]
  }
export default userRouter
